#!/usr/bin/env python
# encoding: utf-8
"""
main.py

Created by Bud Gibson on 2010-05-31.
Copyright (c) Bud Gibson 2010. Released under the Artistic/GPL License.
"""

import config
import construct_graph
import datetime

try: #buzztracker package is on system path
  import buzztracker.conf as conf
  import buzztracker.utilities.dj as dj
except ImportError: #buzztracker package is not on system path
  import sys
  import os
  sys.path.append(os.path.join(os.path.dirname(__file__), '../..'))
  import buzztracker.conf as conf
  import buzztracker.utilities.dj as dj

def main():
	struct = {
	  'dateRun': datetime.datetime.now(),
	  'participants': construct_graph.base_graph(conf.SEED)
	}
	dj.run(struct, output_file='output/participantNetworks.html')


if __name__ == '__main__':
	main()
